import Vue from "../../../../node_modules/vue";
import Router from "../../../../node_modules/vue-router";
Vue.use(Router);

export default new Router({
  routes: [
    // 路由进入重定向
    {
      path: "/",
      redirect: "/index",
    },
    {
      // 主页面
      path: "/index",
      name: "index",
      component: () => import("src/views/index/component/index"),
    },
    {
      // 信息
      path: "/info",
      name: "info",
      component: () => import("src/views/index/component/info"),
    },
  ],
});
